var vue = new Vue({
    el: "#app",
    data: {
        spot: {},
        XP_TT: {}
    },
    methods: {},
    mounted: function () {
        var param = getParams();
        var id = param.id;
        var _this = this;
        console.log(id);
        //景点明细
        ajaxGet("/sport/dafei?id=" + id, {}, function (data) {
            _this.XP_TT = data.data;

        });
        ajaxGet("/sport/spot?id=" + id, {}, function (data) {
            _this.spot = data.data;
        });

    }
});

